package edu.uwlax.cs.oayonlinestore.client.gui.salesdept;

import edu.uwlax.cs.oayonlinestore.client.gui.shared.OrderTable;
import edu.uwlax.cs.oayonlinestore.client.utils.TitlePage;

public class PageSalOrders extends TitlePage {

	private OrderTable table;

	protected void create() {
		setTitle("Administrate Orders");
		add(table = new OrderTable(true,true));
	}

	public String getID() {
		return "AdminOrders";
	}

	protected void onShow() {
		table.loadByUser(0);
	}
}
